home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 12984 / 12984.xpi / chrome / VideoDownloaderToolbar.jar / content / EditProfile.xul < prev    next >
Extensible Markup Language  |  2010-01-29  |  6KB  |  167 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  4.     buttons="accept,cancel"
  5.     buttonlabelcancel="Cancel" buttonlabelaccept="OK"
  6.     ondialogaccept="return editProfile.onAccept()" ondialogcancel="" title="Edit AutoFill Profile" >
  7.  
  8.     <script type="application/x-javascript" src="chrome://vidbar/content/Profile.js" />
  9.     <script type="application/x-javascript" src="chrome://vidbar/content/EditProfile.js" />
  10.     <script type="application/x-javascript">
  11.     <![CDATA[
  12.         var editProfile = new com.VidBar.EditProfile();
  13.         addEventListener("load", function(event) { editProfile.onLoad(event); },    false);
  14.         addEventListener("unload", function(event) { editProfile.onUnload(event); },    false);
  15.     ]]>
  16.     </script>
  17.  
  18.   <vbox flex="1">
  19.     <groupbox>
  20.       <caption label="Name and email" />
  21.       <grid flex="1">
  22.         <rows>
  23.           <row/>
  24.           <row/>
  25.           <row/>
  26.           <row/>
  27.           <row/>
  28.         </rows>
  29.         <columns>
  30.           <column>
  31.             <hbox align="center">
  32.               <label value="First name:"
  33.                                  flex="1"
  34.                                  control="basicAFProfileFirstName" />
  35.               <textbox id="basicAFProfileFirstName" afid="firstname" />
  36.             </hbox>
  37.             <hbox align="center">
  38.               <label value="Middle name:"
  39.                                  flex="1"
  40.                                  control="basicAFProfileMiddleName" />
  41.               <textbox id="basicAFProfileMiddleName" afid="middlename" />
  42.             </hbox>
  43.             <hbox align="center">
  44.               <label value="Last name:"
  45.                                  flex="1"
  46.                                  control="basicAFProfileLastName"/>
  47.               <textbox id="basicAFProfileLastName" afid="lastname" />
  48.             </hbox>
  49.             <hbox align="center">
  50.               <label value="Email"
  51.                                  flex="1"
  52.                                  control="basicAFProfileEmail"/>
  53.               <textbox id="basicAFProfileEmail" afid="email" />
  54.             </hbox>
  55.             <hbox align="center">
  56.               <label value="Company name:"
  57.                                  flex="1"
  58.                                  control="basicAFProfileCompanyName"/>
  59.               <textbox id="basicAFProfileCompanyName" afid="company" />
  60.             </hbox>
  61.           </column>
  62.         </columns>
  63.       </grid>
  64.     </groupbox>
  65.     <groupbox>
  66.       <caption label="Address" />
  67.       <vbox>
  68.         <grid>
  69.           <columns>
  70.             <column flex="1"/>
  71.             <column flex="1"/>
  72.           </columns>
  73.           <rows>
  74.             <row>
  75.               <grid flex="1" id="basicAFProfileShippingGrid">
  76.                 <columns>
  77.                   <column flex="1"/>
  78.                   <column flex="1"/>
  79.                 </columns>
  80.                 <rows>
  81.                   <row id="basicAFSAddress1FieldContainer"
  82.                                    align="center">
  83.                     <label flex="1"
  84.                                        class="basicAFAlignRight"
  85.                                        value="Address:"/>
  86.                     <textbox id="basicAFProfileSAddress1" afid="address1" />
  87.                   </row>
  88.                   <row id="basicAFSAddress2FieldContainer"
  89.                                    align="center">
  90.                     <label value=""/>
  91.                     <textbox id="basicAFProfileSAddress2" afid="address2" />
  92.                   </row>
  93.                   <row id="basicAFSCityFieldContainer"
  94.                                    align="center">
  95.                     <label flex="1"
  96.                                        value="City/Town:"/>
  97.                     <textbox id="basicAFProfileSCity" afid="city" />
  98.                   </row>
  99.                   <row id="basicAFSStateFieldContainer"
  100.                                    align="center">
  101.                     <label flex="1"
  102.                                        value="State:"/>
  103.                     <textbox id="basicAFProfileSState" afid="state" />
  104.                   </row>
  105.                   <row id="basicAFSZipFieldContainer"
  106.                                    align="center">
  107.                     <label flex="1"
  108.                                        value="Zip code:"/>
  109.                     <textbox id="basicAFProfileSZip" afid="zip" />
  110.                   </row>
  111.                   <row id="basicAFSCountryFieldContainer"
  112.                                    align="center">
  113.                     <label flex="1"
  114.                                        value="Country"/>
  115.                     <textbox id="basicAFProfileSCountry" afid="country" />
  116.                   </row>
  117.                 </rows>
  118.               </grid>
  119.             </row>
  120.           </rows>
  121.         </grid>
  122.       </vbox>
  123.     </groupbox>
  124.     <groupbox>
  125.       <caption label="Contact numbers:" />
  126.       <grid>
  127.         <columns>
  128.           <column/>
  129.           <column/>
  130.         </columns>
  131.         <rows>
  132.           <row>
  133.             <vbox>
  134.               <spacer flex="1"/>
  135.               <label value=""/>
  136.               <spacer flex="1"/>
  137.               <label class="basicAFAlignRight"
  138.                                  value="Phone:"/>
  139.               <spacer flex="1"/>
  140.             </vbox>
  141.             <hbox id="basicAFPhoneBox">
  142.               <vbox id="basicAFPhoneBoxNumber">
  143.                 <label value="number"/>
  144.                 <textbox id="basicAFProfilePhoneNumber" afid="phone"
  145.                                  charsAllowed="0123456789" maxlength="24" />
  146.               </vbox>
  147.             </hbox>
  148.           </row>
  149.           <row>
  150.             <vbox>
  151.               <spacer flex="1"/>
  152.               <label class="basicAFAlignRight"
  153.                                  value="Fax:"/>
  154.               <spacer flex="1"/>
  155.             </vbox>
  156.             <hbox id="basicAFFaxBox">
  157.               <textbox id="basicAFProfileFaxNumber" afid="fax"
  158.                                  charsAllowed="0123456789" maxlength="24" />
  159.             </hbox>
  160.           </row>
  161.         </rows>
  162.       </grid>
  163.     </groupbox>
  164.   </vbox>
  165.  
  166.  
  167. </dialog>